package com.mapper;

import com.pojo.Vehicle;

import java.util.List;

public interface VehicleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Vehicle record);

    int insertSelective(Vehicle record);

    Vehicle selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Vehicle record);

    int updateByPrimaryKey(Vehicle record);

    public List<Vehicle> selectVehicleByOwnerid(Integer ownerid);
    public Vehicle selectVehicleByid(Integer id);

    public Vehicle selectVehicleBycarno(String carno);
}